package com.yc.jpyy.mobile.service;

import java.util.Map;

import org.springframework.dao.DataAccessException;

import com.yc.jpyy.base.bean.RestResponse;

public interface AdminService {

	// 管理员登录
	RestResponse adminLogin(Map<String, Object> paramsMap, RestResponse response)
			throws DataAccessException;

	// 获取首页数据
	RestResponse getHomePageDatas(String driverId, RestResponse response)
			throws DataAccessException;
	
	// 获取教练出勤情况
	RestResponse getTeacherAttendance(String driverId,String imgUrl, RestResponse response)
			throws DataAccessException;
	
	// 获取新增报名
	RestResponse getPreUserInfo(String driverId, RestResponse response)
			throws DataAccessException;	
	// 历史课程记录
	RestResponse getHistoryCourseRecord(Map<String, Object> paramsMap, RestResponse response)
			throws DataAccessException;
	// 历史课程记录
	RestResponse getAppointmentStudents(Map<String, String> paramsMap, RestResponse response)
			throws DataAccessException;
	
	// 获取怠学学生信息
	RestResponse getSlackLearnStudent(Map<String, Object> paramsMap, RestResponse response)
			throws DataAccessException;
	
	// 发布通知信息
	RestResponse publishNews(Map<String, Object> paramsMap, RestResponse response)
			throws DataAccessException;
	
	// 获取通知信息
	RestResponse getNews(Map<String, Object> paramsMap, RestResponse response)
			throws DataAccessException;
	
	// 获取当天车辆信息
	RestResponse getVehicleListInfo(Map<String, Object> paramsMap, RestResponse response)
			throws DataAccessException;
	
	/*// 获取车辆轨迹
	RestResponse getVehicleTraceById(Map<String, Object> paramsMap, RestResponse response)
			throws DataAccessException;*/
	// 获取教练通讯录
	RestResponse getTeacherCallList(Map<String, Object> paramsMap, RestResponse response)
			throws DataAccessException;
	
	// 获取黑名单
	RestResponse getBlackStudentList(Map<String, Object> paramsMap, RestResponse response)
			throws DataAccessException;
	
	// 取消黑名单
	RestResponse deleteBlackStudent(String blackId, RestResponse response)
			throws DataAccessException;
	
	// 管理端给学员预约课程
	RestResponse courseAppoint(Map<String, Object> paramsMap, RestResponse response)
			throws DataAccessException;
	
	// 更改密码
	RestResponse updatePassword(Map<String, Object> paramsMap, RestResponse response)
			throws DataAccessException;
	// 获取统计图数据
	RestResponse getChartDatas(String driverId, RestResponse response)
			throws Exception;
	
	// 获取统计图数据
	RestResponse getStudentTrainStage(String driverId, RestResponse response)
			throws Exception;
	
	// 学员培训周期分部
	RestResponse getStudentTrainCycle(String driverId, RestResponse response)
			throws Exception;
	
	// 长期怠学统计分布
	RestResponse getLongslackStudente(String driverId, RestResponse response)
			throws Exception;
	
/*	// 获取车辆当前位置
	RestResponse getVehicleLocation(Map<String, Object> paramsMap, RestResponse response)
			throws Exception;*/
	// 获取请假审批列表
	RestResponse getTeacherLeaveInfo(Map<String, Object> paramsMap, RestResponse response)
			throws Exception;
	// 请假详情页
	RestResponse getTeacherLeaveDetail(Map<String, Object> paramsMap, RestResponse response)
			throws Exception;
	// 取消课程
	RestResponse deleteCourse(Map<String, Object> paramsMap, RestResponse response)
			throws Exception;
	// 审批请假
	RestResponse updateLeaveStatus(Map<String, Object> paramsMap, RestResponse response)
			throws Exception;	
}
